#ifndef _RESAMPLE_H_
#define _RESAMPLE_H_

#ifdef __cplusplus
extern "C"
{
#endif

#include <stdint.h>

int resample_16k_to_8k(int16_t *ibuf, int16_t *obuf, uint32_t ilen, uint32_t *polen);
int resample_8k_to_16k(int16_t *ibuf, int16_t *obuf, uint32_t ilen, uint32_t *polen);

#ifdef __cplusplus
}
#endif

#endif /* _RESAMPLE_H_ */
